<tagLib name='html'/>
<div class='pageHeader'>
    <form action='__URL__' method='post' id='pagerForm' onsubmit='return navTabSearch(this);'>
        <div class='searchBar'>
            <ul>
                <li><label>用户ID</label> <input type='text' name='user_id' value='{$int_user_id}' /></li>
                <li><label>用户名</label> <input type='text' name='user_name' value='{$str_user_name}' /></li>
                <li class='two-col'>
                    <label>最近登录时间</label>
                    <span>
                       <input type='text' name='last_login_time[]' value='{$str_last_login_time_1}' class='date' datefmt='yyyy-MM-dd' readonly='true' />
                    </span>
                    <span class='info'> - </span>
                    <span>
                       <input type='text' name='last_login_time[]' value='{$str_last_login_time_2}' class='date' datefmt='yyyy-MM-dd' readonly='true' />
                    </span>
                </li>
                <li><label>管理员</label> <html:select options='arr_status["bool"]' selected='int_is_admin' first='{$str_select_first_txt}' name='is_admin' style='combox' /></li>
                <li><label>状态</label> <html:select options='arr_status["default"]' selected='int_status' first='{$str_select_first_txt}' name='status' style='combox' /></li>
            </ul>
            
            <include file='$str_search_bar_html' />
        </div>
        
        <include file='$str_page_search_html' />
    </form>
</div>

<div class='pageContent'>
    <div class='panelBar'>
        <ul class='toolBar'>
            <li><a href='__URL__/add' target='dialog' width='650' height='500' class='add'><span>添加</span></a></li>
            <li><a href='__URL__/edit?id={id}' target='dialog' width='650' height='500' class='edit'><span>修改</span></a></li>
            <li class='line'>line</li>
        </ul>
    </div>
    <table class='table' width='100%' layoutH='138'>
        <thead>
            <tr>
                <th width='80'>用户ID</th>
                <th width='150'>用户名</th>
                <th width='350'>组名</th>
                <th width='50'>管理员</th>
                <th width='150'>最近登录时间</th>
                <th width='100'>登录IP</th>
                <th width='50'>操作者</th>
                <th width='50'>状态</th>
                <th width='100'>创建时间</th>
                <th width='100'>更新时间</th>
            </tr>
        </thead>
        <tbody>
            <foreach name='arr_info' item='sub'>
                <tr target='id' rel='{$sub.user_id}'>
                    <td>{$sub.user_id}</td>
                    <td>{$sub.user_name}</td>
                    <td title='{$sub.group_ids}' class='list_long_text'>{$sub.group_ids|call_model=SysGroup,get_info_by_pk,name}</td>
                    <td>{$sub.is_admin|get_status_txt=bool}</td>
                    <td>{$sub.last_login_time}</td>
                    <td>{$sub.login_ip}</td>
                    <td>{$sub.operate_id|get_user_name}</td>
                    <td>{$sub.status|get_status_txt}</td>
                    <td>{$sub.create_time|get_date}</td>
                    <td>{$sub.update_time|get_date}</td>
                </tr>
            </foreach>
        </tbody>
    </table>

    <include file='$str_page_html' />
</div>
